/*
 *	ApOS (Another Project software for s3c2410)
 *	
 *	This program is free software; you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License version 2 as
 *	published by the Free Software Foundation.
 *			
 *
 */
#include "../include/s3c2410/s3c2410.h"
#include "../include/s3c2410/watchdog.h"
void enable_watchdog()
{
	rWTCON=0x7F81;
	rWTDAT=0x8000;
	rWTCON|=1<<5;
}
void feed_dog()
{
	rWTCNT=0x8000;
}